class CeleryConfig:
    # 接收和发送任务
    BROKER_URL = "redis://127.0.0.1:6379/1"
    # 存储任务结果
    CELERY_RESULT_BACKEND = "redis://127.0.0.1:6379/0"
    # 设置时间参照
    CELERY_TIMEZONE = "Asia/Shanghai"
